package org.xiyinjihe.platform.error;


public enum PermissionError implements IError {

	SYSTEM_ERROR("PERMISSION_ERROR_000001", "系统异常", "系统异常"),
	ROLE_ERROR("PERMISSION_ERROR_000002", "账号异常!请联系管理员设置角色", "账号异常!请联系管理员设置角色"),
	PERMISSION_ERROR("PERMISSION_ERROR_000003", "账号异常!请联系管理员设置角色权限", "账号异常!请联系管理员设置角色权限"),
	NULL_ERROR("PERMISSION_ERROR_000004", "查询数据不存在或已删除", "查询数据不存在或已删除");

	private String errorCode;
	private String errorTitle;
	private String errorMsg;

	PermissionError(String errorCode, String errorTitle, String errorMsg) {
		this.errorCode = errorCode;
		this.errorTitle = errorTitle;
		this.errorMsg = errorMsg;
	}

	public String getErrorCode() {
		return this.errorCode;
	}

	public String getErrorTitle() {
		return this.errorTitle;
	}

	public String getErrorMsg() {
		return this.errorMsg;
	}

}